<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
    <link href="../../style.css" rel="stylesheet" type="text/css">
</head>
<body>
	<div class="content">
        <!-- preview -->
		<div class="logo"><h2 class="logoName"></h2></div>
            <!-- <div style="text-align: center;margin-top: 20px;"> -->
                <!-- <img class="previewImage" src="../../image/vermaya.png"> -->
        <!-- </div> -->
        
        <!-- description -->
		<div class="header"><h4>描述</h4></div>
        <HR>
        <div class="subContent">
            <div uuid="description" class="boxCustomContent"></div>
        </div>
        
        <!-- config -->
		<div class="header"><h4>配置</h4></div>
        <HR>
        <div class="subContent">
            <div uuid="projectConfig" class="boxColorContent"></div>
        </div>

        <!-- example -->
		<div class="header"><h4>Examples</h4></div>
        <HR>
        <div class="subContent">
            <div uuid="packageSample" class="boxColorContent"></div>
        </div>
	</div>

<!-- 下面是数据输入区，注意空格，这里什么格式，显示什么格式.注意："<" 和 ">" 用 &lt; 和 &gt; 代替。-->
<!-- **************************************************************** -->
<!-- 1.语法内容输入 -->
<pre uuid="description" style="display:none;">
用于设置maya视图的HUD显示
</pre>


<pre class="code" uuid="projectConfig" style="display:none">
<code>
###--- ./config/huds_config.yml ---###


blockSize: large                     
labelFontSize: large
dataFontSize: large
sections:
    verSceneName: 
        section: 0 
        command: display_scene_name_hook
        event: NewSceneOpened
    verCameraFocal:
        section: 4 
        command: display_camera_focal_hook
        event: timeChanged
        refresh: 1
    verCurrentTime:
        section: 5 
        command: display_time_hook
    verUserName:
        section: 6 
        command: display_username_hook
builtin:
    - setCameraNamesVisibility
    - setCurrentFrameVisibility
</code>
</pre>

<pre class="code" uuid="packageSample" style="display:none;">
<code>
# config: 配置文件名

import verheadsupdisplay.core as vhud
ver_huds = vhud.Verhuds(config='huds_config.yml')
ver_huds.show()

</code>
</pre>

<!-- **************************************************************** -->
</body>
</html>

<!-- 加载插件 -->
<script type="text/javascript" src="../../../../scripts/require.js"></script>
<!-- 加载语言格式数据 -->
<script src="../../../../scripts/config/python.js"></script>
<script type="text/javascript">
    
    // 配置模块路径
    require.config({
        paths : {
            "apidocbuild" : "../../apidocbuild",
            "codestyle" : "../../../../scripts/codestyle",
        }
    })
    // 初始化界面
    require(["apidocbuild"])
    // 调用模块功能，根据数据实现语法高亮
    require(["codestyle"], function(codestyle){
                var all_code = document.getElementsByClassName("code");
                if(all_code){
                    for(var code of all_code){
                        codestyle.main(code, keywordsData, strFormatData);
                    }
                }
                }
            );

</script>


